//
//  CurrentUser.h
//  HuLaQuan
//
//  Created by hok on 1/18/16.
//  Copyright © 2016 Jianghao. All rights reserved.
//

#import "Person.h"

@class UserInfo;

@interface CurrentUser : Person

@property (nonatomic, readonly) NSString *password;
@property (nonatomic, readonly) NSString *token;
@property (nonatomic, strong) UserInfo *userInfo;

+ (CurrentUser *)sharedInstance;

-(void)createUserWithUserInfoDictionary:(NSDictionary*)jsonObject;

-(BOOL)modifyPassword:(NSString *)password;

- (void)logout;

@end
